package priv.yiyuan.example.design.wrapper;

/**
 * 文本元素
 * <p>
 * 装饰器模式-具体组件
 *
 * @author YiYuan
 * @data 2025/9/3
 * @apoNote
 */
public class TextElement implements ResumeElement {

    private String content;

    public TextElement(String content) {
        this.content = content;
    }

    @Override
    public String render() {
        return content;
    }
}
